<static:include file="{RL_MODULE_DIR}/nitrous-cms/themes/{NTRS_THEME}/header.tpl.php"/>

<h2>Login</h2>

<form:form id="login" method="post" action="/login">

    {% if (isset($login_error)): %}<span class="error">{{$login_error}}</span><br>{% endif; %}
    <ul>
        <li>
            <form:error id="username"><span class="error">%</span><br></form:error>
            <label for="username">Username</label><br>
            <form:text id="username" x:maxlen="10" />
        </li>
        <li>
            <form:error id="password"><span class="error">%</span><br></form:error>
            <label for="password">Password</label><br>
            <form:password id="password" x:maxlen="10"/>
        </li>
        <li>
            <form:checkbox id="remember_me" x:on="1" x:off="0"/>
            <label for="remember_me">Remember Me</label>
        </li>
        <li>
            <input type="submit">
        </li>
    </ul>

</form:form>

<static:include file="{RL_MODULE_DIR}/nitrous-cms/themes/{NTRS_THEME}/footer.tpl.php"/>